package com.cy.dao;

import com.cy.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysUserDao {
    @Select("select * from sys_users where username=#{username}")
    SysUser selectUserByUsername(String username);

    List<SysUser> selectUsers(String username);
}
